#index的form.py
from django import  forms
from .models import PersonInfo
class PersonInfoForm(forms.ModelForm):
    class Meta:
        model = PersonInfo
        fields = '__all__'